package net.csdn.business.common.domain.actions.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @ClassName ActionsSwitchLogDto
 * @Description TODO
 * @Author lzs
 * @Date 2024/3/21
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ActionsSwitchLogDto {
    /**
     * 组织ID
     */
    private String ownerId;

    /**
     * actions开启状态
     */
    @NotNull
    private Boolean actionsStatus = true;

    /**
     * 创建者ID
     */
    @NotBlank
    private String creatorId;

    @NotBlank
    private String ownerName;

    @NotBlank
    private String repoName;

    @NotBlank
    private String currentUserName;
}
